//
//  LongPickerTagView.h
//  CoachsBook
//
//  Created by huiyong li on 2022/8/20.
//

#import <UIKit/UIKit.h>
#import "LongTagView.h"
NS_ASSUME_NONNULL_BEGIN
@protocol LongPickerTagViewDelegate <NSObject>
- (void)choosPickerView :(UIView *)tagView  WithchoosStrArr:(NSArray *)strArr;
- (void)closePickerTagView :(UIView *)tagView;
@end

@interface LongPickerTagView : UIView

@property (nonatomic, weak) id<LongPickerTagViewDelegate>delegate;

@property (nonatomic, strong) NSArray *dataArr;
@property (nonatomic,assign) NSInteger maxnumber;  //多选下最大选择多少
@property (nonatomic,assign) NSInteger widthNumber;  //不自适应宽度下每行显示几个tag
/**
 *  初始化
 *
 *  @param frame    frame
 *  @param dataArr  数据源
 *
 */
- (instancetype)initWithFrame:(CGRect)frame dataArr:(NSArray *)dataArr;

//主标题
@property (nonatomic,strong) UILabel *titleLabel;

@end

NS_ASSUME_NONNULL_END
